package com.eshin.container;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
import org.springframework.amqp.rabbit.core.RabbitAdmin;
import org.springframework.amqp.rabbit.listener.BlockingQueueConsumer;
import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
import org.springframework.util.backoff.BackOffExecution;

import com.rabbitmq.client.Channel;

public class MySimpleMessageListenerContainer extends SimpleMessageListenerContainer {

	public MySimpleMessageListenerContainer(CachingConnectionFactory connectionFactory) {
		super(connectionFactory);
	}

	@Override
	public void doStart() throws Exception {
		super.doStart();
	}
	
	@Override
	public RabbitAdmin getRabbitAdmin() {
		return super.getRabbitAdmin();
	}
	
	@Override
	public void validateConfiguration(){
		super.validateConfiguration();
	}
	
	@Override
	public void doInitialize() throws Exception {
		super.doInitialize();
	}
	
	@Override
	public void doStop() {
		super.doStop();
	}

	@Override
	public void doShutdown() {
		super.doShutdown();
	}
	
	@Override
	public int initializeConsumers() {
		return super.initializeConsumers();
	}
	
	@Override
	public void addAndStartConsumers(int delta) {
		super.addAndStartConsumers(delta);
	}
	@Override
	public boolean isChannelLocallyTransacted(Channel channel) {
		return super.isChannelLocallyTransacted(channel);
	}
	
	@Override
	public void invokeListener(Channel channel, Message message) throws Exception {
		super.invokeListener(channel, message);
	}
	
	@Override
	public void handleStartupFailure(BackOffExecution backOffExecution) throws Exception {
		super.handleStartupFailure(backOffExecution);
	}
}
